#pragma once
#include "CBaseImage.h"

class CColorImage : public CBaseImage
{
public:
	CColorImage();
	~CColorImage();

public:
	BOOL ParseFile(string fn);

	void GetDefaultWindow(double& wc, double& ww);

	void* CreateThumbnail(int& width, int& height);

	BOOL CreateDIB(void*& pdib, int& w, int& h, int wc, int ww, int frame = 0, bool bneg=false, bool bov = true);

	void GetMeasureInfo(MeasureInfo& info, int type, vector<Gdiplus::PointF>* vecPts = NULL) {}

	virtual void Close();
	virtual BOOL ReParseFile();
};

